Pixeldev\SquareWooSync\Square\SquareHelper A

Total Complexity 67
Dependencies 0
Dependents 8
Total lines 424
Lines of code 236
Logical lines of code 127
Comment lines 111
Methods 16
Properties 5

Methods 16

Method Rating Maintainability Complexity Lines of code
update_square_product()
A
46 13 35
square_api_request()
A
44 10 40
updated_inventory_data()
S
58 6 15
update_variable_product_variations()
S
59 6 14
process_queue()
S
55 4 20
decrypt_access_token()
S
58 4 15
update_simple_product_variation()
S
65 5 8
is_token_valid()
S
65 4 8
get_inventory()
S
60 3 13
update_variations()
S
67 3 7
encrypt_access_token()
S
61 2 11
update_inventory()
S
53 1 22
get_access_token()
S
71 2 5
get_square_item_details()
S
63 2 10
__construct()
S
80 1 3
queue_request()
S
64 1 10